package commons.entity;

import com.sun.jna.Native;
import commons.util.GameUtil;

public class MouseHIKV extends absMyMouse {
    DD dd = (DD) Native.loadLibrary("dd43390.dll", DD.class);
    @Override
    public void mouseWhell(int num) {
       dd.DD_whl(num);
    }

    @Override
    public void mousePress() {
        dd.DD_btn(1);    }

    @Override
    public void mouseRelease() {
        dd.DD_btn(2);
    }

    @Override
    public void mouseMove(int x, int y) {
        dd.DD_mov(x,y);
        GameUtil.delay(100);
    }
}


